package com.runa.monitor.platinterface.extend.nb.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Configuration
public class XHANorthNbIotConfig {
    @Value("${north.enable:false}")
    private Boolean enable;
    @Value("${north.platformIp:''}")
    private String platformIp;
    @Value("${north.platformPort:''}")
    private String platformPort;
    @Value("${north.appId:''}")
    private String appId;
    @Value("${north.secret:''}")
    private String secret;

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public String getPlatformIp() {
        return platformIp;
    }

    public void setPlatformIp(String platformIp) {
        this.platformIp = platformIp;
    }

    public String getPlatformPort() {
        return platformPort;
    }

    public void setPlatformPort(String platformPort) {
        this.platformPort = platformPort;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }
}
